﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="MyPublisher.Web.Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainPlaceHold" runat="server">
    <asp:UpdateProgress runat="server" AssociatedUpdatePanelID="PublishPanel">
        <ProgressTemplate>
            <asp:Image ID="Image1" runat="server" ImageUrl="~/App_Themes/Default/images/progress.gif"
                AlternateText="Processing" />
        </ProgressTemplate>
    </asp:UpdateProgress>
    <asp:UpdatePanel ID="PublishPanel" runat="server" ChildrenAsTriggers="true">
        <ContentTemplate>
            <table>
                <tr>
                    <td style="vertical-align: top">
                        <asp:Menu ID="BlogMenu" runat="server">
                            <Items>
                                <asp:MenuItem Text="CSDN" Value="CSDN" />
                                <asp:MenuItem Text="Blogger" Value="Blogger" />
                                <asp:MenuItem Text="LiveSpace" Value="LiveSpace" />
                                <asp:MenuItem Text="AspNet" Value="AspNet" />
                            </Items>
                        </asp:Menu>
                    </td>
                    <td style="width: 20px" />
                    <td>
                        <asp:Panel ID="Panel1" runat="server" GroupingText="Blog Information" Width="100%">
                            <table border="0" cellspacing="0" cellpadding="3" width="100%">
                                <tr>
                                    <td>
                                        <asp:Label ID="Label3" runat="server" Text="Blog Address"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="UserNameTextBox" runat="server" Width="150px"></asp:TextBox>
                                    </td>
                                    <td>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="UserNameTextBox"
                                            runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="Label2" runat="server" Text="Blog Password"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="PasswordTextBox" runat="server" Width="150px" TextMode="Password"></asp:TextBox>
                                    </td>
                                    <td>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="PasswordTextBox"
                                            runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                        <br />
                        <div style="text-align: right">
                            <asp:ImageButton ID="PrintButton" OnClick="PrintButton_Click" ImageUrl="Images/print_my_blog_btn.gif"
                                runat="server" />
                        </div>
                    </td>
                    <td style="width: 20px" />
                    <td style="vertical-align:middle">
                                                <asp:HyperLink ID="DownloadButton" runat="server" Text="Download" NavigateUrl="#"
                                ImageUrl="~/Images/download.png" Visible="false" />
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
